package cn.itsource.pet.service;

import cn.itsource.common.util.AjaxResult;
import cn.itsource.common.util.PageList;
import cn.itsource.pet.domain.SearchMasterMsg;
import cn.itsource.common.service.BaseService;
import cn.itsource.pet.query.SearchMasterMsgQuery;
import cn.itsource.pet.ro.PublishRo;
import org.apache.poi.ss.formula.functions.T;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zcj
 * @since 2024-03-11
 */
public interface ISearchMasterMsgService extends BaseService<SearchMasterMsg> {

    AjaxResult publish(PublishRo publishRo,Long id);

    AjaxResult getUserPublishMsg(Long id);

    PageList<SearchMasterMsg> getPool(SearchMasterMsgQuery query);

    AjaxResult taking(Long msgId, Long loginInfoId);

    PageList<SearchMasterMsg> getHandle(SearchMasterMsgQuery query, Long loginInfoId);

    AjaxResult reject(Long msgId);

    AjaxResult accept(Long msgId);

    PageList<SearchMasterMsg> getOk(SearchMasterMsgQuery query,Long loginInfoId);
}
